<?php  
/*function verify_email($email)
{  
    list($email_user,$email_host)=explode("@",$email);  
    $host_ip=gethostbyname($email_host);  
   
     if(eregi("^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]{2,15})*(.[a-z]{2,3})$", $email) && !ereg($host_ip,$email_host))
       {  
         return TRUE;  
    }
    else{  
       return FALSE;  
     }  
}*/
function verify_email($email)
{  
    
   
     if(eregi("^[_a-zA-Z0-9-]+(.[_a-zA-Z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]{2,15})*(.[a-z]{2,3})$", $email) )
       {  
         return TRUE;  
    }
    else{  
       return FALSE;  
     }  
}
?>
